import request from "@/utils/request"

// 获取列表
export const listNoticeRule = (params = {}) => { return request.get('/business/alarmNoticeRule/list', { params }) }
// 获取详情
export const getNoticeRuleById = (params) => { return request.get(`/business/alarmNoticeRule/${params}`) }
// 删除
export const deleteNoticeRule = (params) => { return request.delete('/business/alarmNoticeRule', { data: params }) }
// 修改
export const updateNoticeRule = (params = {}) => { return request.put(`/business/alarmNoticeRule`, params) }
// 新增
export const addNoticeRule = (params = {}) => { return request.post('/business/alarmNoticeRule', params) }
